#pragma once
#include <iostream>
#include <opencv2/opencv.hpp>
#include "RollingGuidanceFilter.h"

class DrawMarginal
{
public:
	DrawMarginal(void);
	bool Drawing(IplImage* rawImg,IplImage* marImg,int thresh);
	void DrawingWithInternal(IplImage* rawImg,IplImage* marImg,int thresh);
	void isolatePointFilter(IplImage* image,int sampleW = 5,int sampleH = 5,int threshold = 5);
private:
	int sampleCounter(IplImage* image,int currentX,int currentY,int sampleW,int sampleH);
	~DrawMarginal(void);
};

